< previous page page_509 next page >

Page 509
(table continued from previous page)
Debugging FunctionPurpose
Step OutExecutes the remainder of the current procedure and breaks at the next line in the calling procedure
Locals WindowDisplays the current value of any local variables
Immediate WindowEnables you to execute code or display any values while the application is in Break mode
Watch WindowDisplays the values of selected expressions
Quick WatchLists the current value of an expression while the application is in Break mode
Call StackWhile in Break mode, presents a dialog box that displays all the procedures that have been called but not yet run to completion, as discussed on Day 15

12181-0509a.gif
Figure 18.4.
The optional Debug toolbar provides
many of the debugging functions that
Visual Basic has.
As mentioned previously, all these toolbar functions are also available on the Debug menu (see Figure 18.5). Besides the functions from the toolbar, there are also the options to add and remove Watch expressions and show the next executable statement. Also, after you place the cursor at a given line of code, you can have the application execute until it hits the line with the cursor on it.

 
< previous page page_509 next page >

If you like this book, buy it!